package com.expoente.model;

import java.io.Serializable;

public class Line implements Serializable {

	private static final long serialVersionUID = 1L;

	private int _id;
	private String name;
	private double cost;

	public Line(int _id, String name, double cost) {
		this._id = _id;
		this.name = name;
		this.cost = cost;
	}
	
	public Line(String name, double cost) {
		this.name = name;
		this.cost = cost;
	}

	public int get_id() {
		return _id;
	}

	public void set_id(int id) {
		_id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getCost() {
		return cost;
	}

	public void setCost(double cost) {
		this.cost = cost;
	}
}
